package com.yonyou.brigade.basic_init.service.impl;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.yonyou.brigade.basic_init.dao.BriChannelBaseMapper;
import com.yonyou.brigade.basic_init.model.BriChannelBase;
import com.yonyou.brigade.basic_init.service.IBriChannelBaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author xuexmf
 * @since 2020-04-22
 */
@Service
public class BriChannelBaseServiceImpl extends ServiceImpl<BriChannelBaseMapper, BriChannelBase> implements IBriChannelBaseService {

    @Autowired
    private BriChannelBaseMapper briChannelBaseMapper;

    @Override
    public List<BriChannelBase> getBriChannelBases() {
        return briChannelBaseMapper.getBriChannelBases();
    }

    @Override
    public BriChannelBase getBriChannelConfigByChannel(String channel) {
        return briChannelBaseMapper.getBriChannelConfigByChannel(channel);
    }
}
